package com.example.javanewwork.controller;


import com.example.javanewwork.entity.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("pet")
public class PetController {




    @GetMapping("/getLunboUrl")
    public Result lunboUrl(){
        List<String> listurl = new ArrayList<>();
        listurl.add("http://www.xuuyy.icu:7789/processimg/lunbo1.jpeg");
        listurl.add("http://www.xuuyy.icu:7789/processimg/lunbo2.jpeg");
        listurl.add("http://www.xuuyy.icu:7789/processimg/lunbo3.jpeg");

        return Result.success(listurl);
    }
}
